package com.training.java.corejava.interfacedemo;

public class Employee implements Person
{
	public String name;
	public int age;
	public String address;
	public String employmentStatus;
	
	Employee(String name,int age, String address, String employmentStatus)
	{
		this.name=name;
		this.age=age;
		this.address=address;
		this.employmentStatus=employmentStatus;
		
	}
	@Override
	public void showInfo() {
		System.out.println("name of person: " + name);
		System.out.println("age of person: " + age);
		System.out.println("address of person: " + address);
		System.out.println("\nemployment status of person: " + employmentStatus);
		
		
	}

	@Override
	public void mainJob() {
		System.out.println("\nI am an employee and my main job is to work." );
		
		
	}

	@Override
	public void currentStatus() {
		System.out.println("\nMy current status is " + employmentStatus);
		
	}

}
